package com.shop.po;

public class Message {
	private Integer messageid;	//留言id

	private String message;		//留言

	private String messagedate;	//留言日期

	private Integer uid;		//关联用户id
	private String reply;		//回复

	public String getReply() {
		return reply;
	}

	@Override
	public String toString() {
		return "Message [messageid=" + messageid + ", message=" + message + ", messagedate=" + messagedate + ", uid="
				+ uid + ", reply=" + reply + ", user=" + user + "]";
	}
	public Message() {
		super();
	}
	public Message(Integer messageid, String message, String messagedate, Integer uid, String reply, User user) {
		super();
		this.messageid = messageid;
		this.message = message;
		this.messagedate = messagedate;
		this.uid = uid;
		this.reply = reply;
		this.user = user;
	}

	public void setReply(String reply) {
		this.reply = reply;
	}

	// 关联用户
	private User user;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getMessageid() {
		return messageid;
	}

	public void setMessageid(Integer messageid) {
		this.messageid = messageid;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getMessagedate() {
		return messagedate;
	}

	public void setMessagedate(String messagedate) {
		this.messagedate = messagedate;
	}

}